//
//  UIImageView+extension.m
//  WHYWeibo-OC
//
//  Created by 王洪运 on 15/11/24.
//  Copyright © 2015年 王洪运. All rights reserved.
//

#import "UIImageView+extension.h"

@implementation UIImageView (extension)

+(instancetype)imagwViewWithImageName:(NSString *)imageName {
    
    UIImage *img = [UIImage imageNamed:imageName];
    UIImageView *imageView = [[self alloc] initWithImage:img];
    
    return imageView;
}

@end
